/*
 * Copyright 2020-2030 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/

package com.gitee.minimalismstyle.fresh.simple.api.model

import com.gitee.minimalismstyle.fresh.common.data.beetl.model.LongModel
import io.swagger.annotations.*


/**
 * 事件组件Dto
 * @author maoxiaodong
*/
@ApiModel(value = "事件组件")
class SimpleActionField: LongModel(){

    /**
    * 事件组ID
    */
    @ApiModelProperty(value = "事件组ID")
    var actionId: Long? = null

    /**
     * 代码
     */
    @ApiModelProperty(value = "代码")
    var code: String? = null

    /**
    * 名称
    */
    @ApiModelProperty(value = "名称")
    var name: String? = null

    /**
    * 权限值
    */
    @ApiModelProperty(value = "权限值")
    var acl: String? = null

    /**
    * 国际化代码
    */
    @ApiModelProperty(value = "国际化代码")
    var i18n: String? = null

    /**
    * 图标
    */
    @ApiModelProperty(value = "图标")
    var icon: String? = null

    /**
    * 类型
    */
    @ApiModelProperty(value = "类型")
    var type: String? = null

    /**
    * 单击事件
    */
    @ApiModelProperty(value = "单击事件")
    var click: String? = null

    /**
    * 确认信息
    */
    @ApiModelProperty(value = "确认信息")
    var pop: String? = null

    /**
    * 提示信息
    */
    @ApiModelProperty(value = "提示信息")
    var tooltip: String? = null

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    var sort: Int? = null

    /**
     * 渲染变量
     */
    @ApiModelProperty(value = "渲染变量")
    var ifvar: String? = null
}